<template>
  <div class="">
    Test page
    <br>
    <router-link to="/hello">
      go to Hello
    </router-link>
    <br>
    <my-comp />
    <br>
    <van-button
      loading
      type="info"
      loading-text="加载中..."
    />
  </div>
</template>

<script>
import MyComp from 'components/MyComp'
import { get } from '@/axios/http'
import bar from './bar'
import hotEnable from '@/js/hotEnable'
import hotDisable from '@/js/hotDisable'
import { testArrayIncludes } from '@/calculator.js'

export default {
  components: { MyComp },
  async created () {
    const resp = await get('http://172.41.30.33:7300/mock/5e61a7f5aec34c001f9ed8e8/common/get-common-success')
    console.log(resp)
    console.log('lodashConcat', bar())
    console.log('test chuankhash2')
    testArrayIncludes()
    // throw new Error('error from Test page')

    console.log('hrm test', hotEnable, hotDisable)
  }
}
</script>
